#include	"UniServer.h"

UniServer::UniServer(int ac, char **av) : _manager(_processor)
{
	_processor.setApi(_manager.getApi());
}

UniServer::~UniServer()
{

}

int			UniServer::run()
{
	return _start();
}

int			UniServer::_start()
{
	_manager.start();
	_manager.wait();
	return 0;
}